﻿<UserControl x:Class="MOJ.Control_HandleFiles"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="420" Width="610">
    <Grid Name="_grid">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        
        <ListView Name="_listView_Files" Grid.Column="1" Margin="10,10,10,35" />
        <Button Content="Remove" Name="_btnRemove" Grid.Column="1" HorizontalAlignment="Left" Margin="10,0,0,10" VerticalAlignment="Bottom" Width="75"/>
        
        <TextBox Name="_txtBox_folderPath" Height="26" Margin="89,10,41,0" Text="" VerticalAlignment="Top"/>
        <Button Name="_btnSetFolder" Content="(...)" HorizontalAlignment="Right" Margin="0,10,10,0" VerticalAlignment="Top" Width="26" Height="26"/>
        <Label Content="Folder: " Name="_lblFolder" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="74" Height="26"/>
        <Label Content="Filter: " Name="_lblFilter" HorizontalAlignment="Left" Margin="10,41,0,0" VerticalAlignment="Top" Width="74" Height="26"/>
        <TextBox Height="26" Name="_txtBox_Filter" Margin="89,41,41,0" TextWrapping="Wrap" Text="*.avi;*.mkv" VerticalAlignment="Top"/>
        <ListView Margin="10,92,10,35" Name="_listView_files2add" />
        <Button Content="Add Selected" Name="_btnAdd" HorizontalAlignment="Left" Margin="10,0,0,10" VerticalAlignment="Bottom" Width="75"/>
        <Button x:Name="_btnSearch" Content="S" HorizontalAlignment="Right" Margin="0,41,10,0" VerticalAlignment="Top" Width="26" Height="26"/>
        <Button Content="None" x:Name="_btnNone" HorizontalAlignment="Right" Margin="0,0,10,10" VerticalAlignment="Bottom" Width="41"/>
        <Button Content="All" x:Name="_btnAll" HorizontalAlignment="Right" Margin="0,0,56,10" VerticalAlignment="Bottom" Width="41"/>
        <ProgressBar Height="15" Margin="10,72,10,0" VerticalAlignment="Top" x:Name="_progBar_isWaiting"/>
    </Grid>
</UserControl>
